home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / enlightenment / e_int_menus.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  1KB  |  40 lines

  1. /*
  2.  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  3.  */
  4. #ifdef E_TYPEDEFS
  5.  
  6. typedef struct _E_Int_Menu_Augmentation E_Int_Menu_Augmentation;
  7.  
  8. #else
  9. #ifndef E_INT_MENUS_H
  10. #define E_INT_MENUS_H
  11.  
  12. struct _E_Int_Menu_Augmentation
  13. {
  14.    struct {
  15.     void (*func)(void *data, E_Menu *m);
  16.     void *data;
  17.    } add, del;
  18. };
  19.  
  20. EAPI E_Menu *e_int_menus_main_new(void);    
  21. EAPI E_Menu *e_int_menus_desktops_new(void);
  22. EAPI E_Menu *e_int_menus_clients_new(void);
  23. EAPI E_Menu *e_int_menus_apps_new(char *dir);
  24. EAPI E_Menu *e_int_menus_favorite_apps_new(void);
  25. EAPI E_Menu *e_int_menus_config_new(void);
  26. EAPI E_Menu *e_int_menus_gadgets_new(void);
  27. EAPI E_Menu *e_int_menus_themes_new(void);
  28. EAPI E_Menu *e_int_menus_lost_clients_new(void);
  29.  
  30. EAPI E_Int_Menu_Augmentation *e_int_menus_menu_augmentation_add(const char *menu,
  31.                                 void (*func_add) (void *data, E_Menu *m),
  32.                                 void *data_add,
  33.                                 void (*func_del) (void *data, E_Menu *m),
  34.                                 void *data_del);
  35. EAPI void                     e_int_menus_menu_augmentation_del(const char *menu,
  36.                                 E_Int_Menu_Augmentation *maug);
  37.     
  38. #endif
  39. #endif
  40.